/**
 * CC_Model_MaxActiveConnectionsNumber.java
 */
package commands.controller;

/**
 * A command returning a number of maximum active connections.
 * @author Michal Kolodziejski
 */
public class CC_Model_MaxActiveConnectionsNumber extends ControllerCommand {
	/** A number of maximum active connections. */
	private int maxActiveConnectionsNumber;
	private int maxActiveConnectionsPerDownload;
	
	
	/**
	 * Constructor
	 * @param maxActiveConnectionsNumber a number of maximum active connections
	 * @param maxActiveConnectionsPerDownload
	 */
	public CC_Model_MaxActiveConnectionsNumber(int maxActiveConnectionsNumber, int maxActiveConnectionsPerDownload){
		super(ControllerCommandType.MODEL_MAX_ACTIVE_CONNECTIONS_NUMBER);
		this.maxActiveConnectionsNumber = maxActiveConnectionsNumber;
		this.maxActiveConnectionsPerDownload = maxActiveConnectionsPerDownload;
	}


	/**
	 * @return the number of maximum active connections
	 */
	public int getMaxActiveConnectionsNumber() {
		return maxActiveConnectionsNumber;
	}

	public int getMaxActiveConnectionsPerDownload(){
		return maxActiveConnectionsPerDownload;
	}
}
